﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Configuration;
using System.ServiceModel;
class Program
{
    static void Main(string[] args)
    {
        Uri uri = new Uri(ConfigurationManager.AppSettings["addr"]);
        ServiceHost host = new ServiceHost(typeof(Service), uri);
        host.Open();
        Console.WriteLine("블루마블 서비스가 시작되었습니다.");
        Console.WriteLine("멈추시려면 엔터키를 눌러주세요.");
        Console.ReadLine();

        host.Abort();
        host.Close();
    }
}
